#pragma once
#include <time.h>
#define  WIN32

#include <iostream>
#include <event.h>
#include <event2/bufferevent.h>
#include <event2/buffer.h>
#include <event2/listener.h>
#include <event2/util.h>
#include <event2/event.h>

// #include "../../libevent/include/event2/event.h"
// #include "../../libevent/include/event.h"
// #pragma comment(lib, "../../libevent/lib/libevent.lib")
using namespace std;

//#pragma comment(lib, "../../libEvent/lib/libevent.lib")

void OnTimer(int sock, short event, void*arg);

class LibEventConnect
{
public:
	LibEventConnect();
	~LibEventConnect();

	void Start();
	int StartTcpConn();
	
};

